/*
配置
 */

import 'package:reabamshengchan/src/reabam/operation/rb_enum.dart';

abstract class RBConfigs{

  /*
   Android打包版本:
   正式版: flutter build apk --flavor version_official
   测试版: flutter build apk --flavor version_test
   开发板: flutter build apk --flavor version_develop
   */
  //打包各个环境类型
  //static VersionType versionType=VersionType.developerVersion;
  static VersionType versionType=VersionType.testVersion;
  //static VersionType versionType=VersionType.officialVersion;
  static String version='2023090601';


  //////////////////////////////////////////////////////////////////////
  //根据各个环境类型自动设置对应的url
  static String h5Url='';
  //是否商米打印机
  static bool isShangMiPrinter=false;
  static String? localIP;

  //sp
  static String SP_companyId='SP_companyId';
  static String SP_groupId='SP_groupId';
  static String SP_userId='SP_userId';
  static String SP_tokenId='SP_tokenId';
  static String SP_serverAddress='SP_serverAddress';
  static String SP_zuulServerAddress='SP_zuulServerAddress';
  static String SP_Pos_CompanyId_Save_DB_Succeed='SP_Pos_CompanyId_Save_DB_Succeed';
  static String SP_Pos_Save_OfflineFile_To_DB_Succeed='SP_Pos_Save_OfflineFile_To_DB_Succeed';
  static String SP_Pos_OfflineDB_goodsType ="SP_Pos_OfflineDB_goodsType";
  static String SP_Pos_OfflineDB_payType ="SP_Pos_OfflineDB_payType";
  static String SP_Pos_Offline_ShopCart ="SP_Pos_Offline_ShopCart";
  //是否使用多端打印
  static String SP_isUseMultiportPrint ="SP_isUseMultiportPrint";
  static String SP_SoscketServerOrClient ="SP_SoscketServerOrClient";

  static final String SP_ServerSocket_Appoint_printer ="SP_ServerSocket_Appoint_printer";//
  static final String SP_ClientSocket_Appoint_printer ="SP_ClientSocket_Appoint_printer";//



  static String BluetoothPrinter ="BluetoothPrinter";
  static String BluetoothWeigher ="BluetoothWeigher";
  static String SocketTV ="SocketTV";
  static String ClientSocketPrinter ="ClientSocketPrinter";
  static String ServerSocketPrinter ="ServerSocketPrinter";

}